<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>黑马页面</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
    <!-- 可以将上面整个模块用一个大div包裹进来 -->
    <div class="wrop">
        <!-- 顶部区域 -->
        <header class="header">
            黑马面面
        </header>
        <!-- 导航栏 -->
        <nav class="nav">
            <a href="#" class="item">
                <img src="icons/icon1.png" alt="">
                <span>HR测试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon4.png" alt="">
                <span>模拟面试</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon5.png" alt="">
                <span>面试技巧</span>
            </a>
            <a href="#" class="item">
                <img src="icons/icon6.png" alt="">
                <span>薪资查询</span>
            </a>


        </nav>
        <!-- go模块 -->
        <section class="go">
            <a href="#"><img src="images/go.png" alt=""></a>
        </section>
    </div>
    <!-- 中间部分 -->
    <!-- 就业指导模块 -->
    <div class="con">
        <div class="con-top">

            <h4>
                <span class="icon"><img src="icons/i2.png" alt=""></span>就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <div class="con-button">
            <!-- 旋转木马轮播图 -->
            <!-- Swiper -->
            <div class="swiper-container get_job_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="images/pic.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="images/pic1.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="images/pic2.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>


                </div>
                <!-- 小圆角 -->
                <!-- Add Pagination -->
                <!-- <div class="swiper-pagination"></div> -->

            </div>
            <!-- 小箭头 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>

    </div>
    <!-- 充电学习模块 -->
    <div class="con study-a">
        <div class="con-top">

            <h4>
                <span class="icon"><img src="icons/i2.png" alt=""></span>
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!--学习模块的轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper mySwiper">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <h5>说地道英语,告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <h5>说地道英语,告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <h5>说地道英语,告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <h5>说地道英语,告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <!-- 底部区域 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="icons/user.png" alt="">
            <p>我的首页</p>
        </a>
    </footer>

    <script src="js/flexible.js"></script>
    <script src="js/swiper.min.js"></script>
    <script>
        //    第一个函数里面是就业指导
        (function () {
            var swiper = new Swiper('.swiper-container', {
                // 能够显示的个数 现在有只能看见2个个
                slidesPerView: 2,
                //   每一个之间的距离
                spaceBetween: 30,
                //    最大的居中
                centeredSlides: true,
                loop: true,
                // // 分页器小圆角
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
                // 小箭头标志
                navigation: {
                    nextEl: ".swiper-button-next",
                    prevEl: ".swiper-button-prev",
                },
            });
        })();
        // 第2个函数轮播图
        (function () {
            var swiper = new Swiper(".mySwiper", {
                slidesPerView: 2.3,
                spaceBetween: 20,
                // pagination: {
                //     el: ".swiper-pagination",
                //     clickable: true,
                // },
            });
        })();

    </script>


</body>

</html>